// SPDX-FileCopyrightText: Copyright 2025-2025 深圳市同心圆网络有限公司
// SPDX-License-Identifier: GPL-3.0-only

package core

import "io"

type BlobStore interface {
	Length(digest string) (int64, error)
	Open(digest string) (io.ReadSeekCloser, error)
	Save(srcFile io.Reader, digest string) error
	Remove(digest string) error
	Walk(dayBefore uint, callBack func(blobId string)) error
}
